<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Spring MVC - 文件上传</title>
</head>
<body>
	<center>
		<h2>文件上传</h2>
		<form action="/upload.do" method="POST" enctype="multipart/form-data">
			<h2>
				请输入图片名称:
				<input type="text" name="name"><br>
			</h2>
			<input type="file" name="file"><br>
			<input type="submit" value="上传">
		</form>
	</center>
</body>
</html>